The first command checks for programs using port 80.
The second command checks for programs using port 443. As shown below there is a program using port 443 and its PID is 4852.
To find out what program belongs to that PID
Open task manager
Click the Processes Tab
Click View and select Select Columns.
4. Turn on the PID column.
5. Sort the columns by PID in task manger (by clicking on the column title)
6. Locate the PID in question to find out what it is. Once you know that stopping it will not harm the server, then simply right click and "End Process Tree".
netstat -aon | find ":443"
The first command checks for programs using port 80.
The second command checks for programs using port 443. As shown below there is a program using port 443 and its PID is 4852.
To find out what program belongs to that PID
4. Turn on the PID column.
5. Sort the columns by PID in task manger (by clicking on the column title)
6. Locate the PID in question to find out what it is. Once you know that stopping it will not harm the server, then simply right click and "End Process Tree".